<?php
	
	//$db = new SQLite3('my1.db');
	//if(!$db) die('fail')

	
	try {
	    $pdo = new PDO('sqlite:mydb1.db');
	    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
	} catch (PDOException $e) {
	    die("连接失败: " . $e->getMessage());
	}

// 最近播放

	if(isset($_GET['bofang'])){

		return;
	}


// 最近收藏

	if(isset($_GET['shoucang'])){

		return;
	}


/*
	$sql = "CREATE TABLE IF NOT EXISTS users (
	    id INTEGER PRIMARY KEY AUTOINCREMENT,
	    name TEXT NOT NULL,
	    email TEXT UNIQUE
	)";
	$pdo->exec($sql);

	$sql = "CREATE TABLE IF NOT EXISTS users (
	    id INTEGER PRIMARY KEY AUTOINCREMENT,
	    name TEXT NOT NULL,
	    email TEXT UNIQUE,
	    level INTEGER,
	    uId TEXT NOT NULL,
    	souc  NUMERIC AS (0),
    	dingy NUMERIC AS (0),
	    remark1 TEXT,
	    remark2 TEXT,
	    remark3 TEXT,
	    remark4 TEXT,
	    createDate TEXT,
	    del1 TEXT AS ('n')
	)";
	$pdo->exec($sql);
*/	
?>	